package com.jm.wf;

import com.jm.utils.Utils;
import com.jm.web.action.BaseAction;
import com.jm.web.data.ReturnData;
import com.jm.wf.data.WorkFlow;

public class BaseWorkFlow {
	protected BaseAction pageAction = null;
	protected WorkFlow wf = null;
	protected Utils utils = null;
	protected ReturnData ret = null;
	
	public BaseAction getPageAction() {
		return pageAction;
	}
	
	public WorkFlow getWf() {
		return wf;
	}
	
	public BaseWorkFlow(BaseAction pageAction) {
		this.pageAction = pageAction;
		this.wf = pageAction.getWorkFlow();
		this.utils = this.pageAction.getUtils();
		this.ret = this.pageAction.getRet();
	}
}
